<?php

class maquinadoMaquinaPiezaModel extends Model2
{
    public function __construct() {
        parent::__construct('maquinado.pdp_maquina_pieza');
    }
    
    public function element($val){
        return $this->lista("SELECT * FROM " . $this->getTable() ." WHERE Pieza ='$val'");
    }
}

?>
